package com.yoda.mall.mysql.api;

import com.yoda.mall.api.AdminLoginLogApi;
import com.yoda.mall.model.entity.ums.AdminLoginLog;
import com.yoda.mall.mysql.mapper.AdminLoginLogMapper;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * @author shawn
 * @date 2022年 12月 16日 0:50
 */
@DubboService
public class AdminLoginLogApiImpl implements AdminLoginLogApi {
    @Resource
    private AdminLoginLogMapper adminLoginLogMapper;

    @Override
    public void save(AdminLoginLog log) {
        adminLoginLogMapper.insert(log);
    }
}
